package com.qujia;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动程序
 *
 * @author qujia
 */
@EnableCaching
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@EnableScheduling
public class QuJiaApplication
{


    public static void main(String[] args)
    {
        SpringApplication application = new SpringApplication(QuJiaApplication.class);
        application.setBannerMode(Banner.Mode.OFF);
        application.run(args);
        System.out.println("(♥◠‿◠)ﾉﾞ  启动成功   ლ(´ڡ`ლ)ﾞ  \n");
        //SpringApplication.run(QuJiaApplication.class, args);



//        StringBuffer sb = new StringBuffer();
//        sb.append("                   _ooOoo_\n");
//        sb.append("                  o8888888o\n");
//        sb.append("                  88\" . \"88\n");
//        sb.append("                  (| -_- |)\n");
//        sb.append("                  O\\  =  /O\n");
//        sb.append("               ____/`---'\\____\n");
//        sb.append("             .'  \\\\|     |//  `.\n");
//        sb.append("            /  \\\\|||  :  |||//  \\ \n");
//        sb.append("           /  _||||| -:- |||||-  \\ \n");
//        sb.append("           |   | \\\\\\  -  /// |   |\n");
//        sb.append("           | \\_|  ''\\---/''  |   |\n");
//        sb.append("           \\  .-\\__  `-`  ___/-. /\n");
//        sb.append("         ___`. .'  /--.--\\  `. . __\n");
//        sb.append("      .\"\" '<  `.___\\_<|>_/___.'  >'\"\".\n");
//        sb.append("     | | :  `- \\`.;`\\ _ /`;.`/ - ` : | |\n");
//        sb.append("     \\  \\ `-.   \\_ __\\ /__ _/   .-` /  /\n");
//        sb.append("======`-.____`-.___\\_____/___.-`____.-'======\n");
//        sb.append("                   `=---='\n");
//        sb.append("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n");
//        sb.append("\t\t佛祖保佑       永无BUG\n");
//        System.out.println(sb.toString());
//        System.out.println("*^__^* O(∩_∩)OO"+"&&&&&&&&&&&&智慧易加qujiaApplication&&&&&&&&&&&&"+"启动成功O(∩_∩)O *^__^*");
    }
}
